package com.liu.service.intf;

import com.liu.dto.ServeBeautyDto;
import com.liu.entity.ServeBeauty;
import com.liu.vo.PageBeanJson;
import com.liu.vo.R;
import org.springframework.stereotype.Service;

@Service
public interface ServeBeautyService {

    PageBeanJson<ServeBeauty> list(int page, int pageSize);
    R delete(int id);
    R deleteBatch(int[] ids);
    R insert(ServeBeauty serveBeauty);
    R update(ServeBeauty serveBeauty);
    //搜索
    PageBeanJson<ServeBeauty> search(ServeBeauty serveBeauty,int page,int pageSize);
}
